#include <QtGui/QApplication>
#include "MainWindow.h"

int main(int argc, char *argv[])
{
	SetPriorityClass(GetCurrentProcess(), REALTIME_PRIORITY_CLASS);

	QApplication a(argc, argv);
	MainWindow w;
	if (0 == w.showLogin())
	{
		w.setFixedSize(w.size());
		return a.exec();
	}
	return 0;
}
